package org.example.Server.model.semester;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class SemStuHmkData {
    String hmk_title;
    Double get_score;
    Double avr_score;

    public void setAvr_score(Double avr_score) {
        this.avr_score = Math.round(avr_score * 100) / 100.0;
    }
}
